//
//  LFBaseView.m
//  AntFarms
//
//  Created by LF on 2017/2/23.
//  Copyright © 2017年 GG. All rights reserved.
//

#import "LFBaseView.h"

@implementation LFBaseView

+ (instancetype)allocWithZone:(struct _NSZone *)zone {
    LFBaseView *view = [super allocWithZone:zone];
    return view;
}

- (instancetype)initWithViewModel:(id)viewModel {
    self = [super init];
    if (self) {
        [self lf_bindViewModel];
        [self lf_setupViews];
        [self lf_addReturnKeyBoard];
        
    }
    return self;
}

- (void) lf_bindViewModel {}
- (void) lf_setupViews {}
- (void) lf_addReturnKeyBoard {}

- (LFPlaceHolderView *)placeHolderView {
    if (!_placeHolderView) {
        _placeHolderView = [LFPlaceHolderView placeHolderView];
//        [self addSubview:_placeHolderView];
    }
    return _placeHolderView;
    
}

@end
